/*
 * @Description:
 * @Author: wlj
 * @Date: 2022-12-22 16:25:32
 * @LastEditors: wlj
 * @LastEditTime: 2023-01-03 18:34:02
 * @FilePath: \my-vite-app\src\main.ts
 */
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"; // 数据持久化
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
import "./assets/iconfont/iconfont.js";
// import components from './components/index'
import router from "./router/index";

const app = createApp(App);
app.use(router);
app.use(pinia);
// app.use(components)
app.mount("#app");
